try {
	Type.registerNamespace('SCorderInScanVO');
	//委外订单入库扫描表VO
	SCorderInScanVO = function() {};
	SCorderInScanVO.prototype = new NCMMPubUtil.SuperVO();
	SCorderInScanVO.PK_SCORDERINSCAN = {
		name: "pk_scorderinscan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//委外订单主键**
	SCorderInScanVO.PK_ORDER = {
		name: "pk_order",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购单号
	SCorderInScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据日期
	SCorderInScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
    SCorderInScanVO.PK_DEPT_NAME = {
        name: "pk_dept_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//委外订单明细**
	SCorderInScanVO.PK_ORDER_B = {
		name: "pk_order_b",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	SCorderInScanVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库主数量
	SCorderInScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库数量
	SCorderInScanVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	SCorderInScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
    SCorderInScanVO.CASTUNITID_NAME = {
        name: "castunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //换算率
     SCorderInScanVO.VCHANGERATE = {
        name: "vchangerate",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
		//物料
	SCorderInScanVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	SCorderInScanVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//供应商名称
	SCorderInScanVO.PK_SUPPLIER_NAME = {
		name: "pk_supplier_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	SCorderInScanVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库**
	SCorderInScanVO.PK_RECVSTORDOC = {
		name: "pk_recvstordoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库名称**
	SCorderInScanVO.PK_RECVSTORDOC_NAME = {
		name: "pk_recvstordoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	SCorderInScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	SCorderInScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	SCorderInScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//物料编码
	SCorderInScanVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体ts
	SCorderInScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//主单位
	SCorderInScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
    SCorderInScanVO.CUNITID_NAME = {
        name: "cunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };	
	//批次号编码
	SCorderInScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	SCorderInScanVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	SCorderInScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	SCorderInScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	SCorderInScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商批次号
	SCorderInScanVO.BC_VVENDBATCHCODE = {
		name: "bc_vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	SCorderInScanVO.PK_RACK = {
		name: "pk_rack",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	SCorderInScanVO.PK_RACKNAME = {
		name: "pk_rackname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	SCorderInScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	SCorderInScanVO.prototype.getAllAttrs = function() {
		return [
		    SCorderInScanVO.PK_SCORDERINSCAN,
			SCorderInScanVO.PK_ORDER,
			SCorderInScanVO.PK_ORDER_B,
			SCorderInScanVO.MATERIALNAME,
			SCorderInScanVO.NNUM,
			SCorderInScanVO.NASTNUM,
			SCorderInScanVO.VBILLCODE,
			SCorderInScanVO.DBILLDATE,
			SCorderInScanVO.HTS,
			SCorderInScanVO.PK_SUPPLIER_NAME,
			SCorderInScanVO.PK_RECVSTORDOC,
			SCorderInScanVO.PK_RECVSTORDOC_NAME,
			SCorderInScanVO.PK_MATERIAL,
			SCorderInScanVO.MATERIALSPEC,
			SCorderInScanVO.MATERIALTYPE,
			SCorderInScanVO.MATERIALSHORTNAME,
			SCorderInScanVO.MATERIALCODE,
			SCorderInScanVO.PK_DEPT_NAME,
			SCorderInScanVO.BTS,
			SCorderInScanVO.CASTUNITID,
			SCorderInScanVO.CASTUNITID_NAME,
			SCorderInScanVO.CUNITID,
			SCorderInScanVO.CUNITID_NAME,
			SCorderInScanVO.VCHANGERATE,
			SCorderInScanVO.VBATCHCODE,
			SCorderInScanVO.PK_BATCHCODE,
			SCorderInScanVO.NSCANNUM,
			SCorderInScanVO.NSCANASTNUM,
			SCorderInScanVO.CROWNO,
			SCorderInScanVO.BC_VVENDBATCHCODE,
			SCorderInScanVO.PK_RACK,
			SCorderInScanVO.PK_RACKNAME,
			SCorderInScanVO.VSERIALCODE		
		];
	};
	SCorderInScanVO.prototype.getTableName = function() {
		return "sc_orderin_scan";
	};
	SCorderInScanVO.prototype.getPrimaryAttr = function() {
		return SCorderInScanVO.PK_SCORDERINSCAN;
	};

} catch(e) {
	$e(e);
}